﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using WROA.Models.Services;
using WROA.Models.Entitys;

namespace WROA.Models.ViewModels
{
    public class NewFlowView
    {
        public IEnumerable<SelectListItem> flowTypeList;
        //{
        //    get
        //    {
        //        FlowService fs = new FlowService();
        //        return ((IList<SelectListItem>)fs.GetAllFlowTypeList()).AsEnumerable();
        //    }
        //}

        public IEnumerable<SelectListItem> FormNameList;
        //{
        //    get
        //    {
        //        FlowService fs = new FlowService();
        //        return ((IList<SelectListItem>)fs.GetAllFormNameList()).AsEnumerable();
        //    }
        //}

        public Flow flow;

        public NewFlowView(Flow flowBind, IEnumerable<SelectListItem> flowTypeList, IEnumerable<SelectListItem> FormNameList)
        {
            this.flow = flowBind;
            this.flowTypeList = flowTypeList;
            this.FormNameList = FormNameList;
        }
    }
}